package Storrage;

/**
 * @author lijunhao
 * 2023/7/14
 * @description TODO
 */
public class Computer {
    private MoStorage storage;

    public Computer(MoStorage storage){
        this.storage = storage;
    }

    public void readData(){
        System.out.println("电脑开始读数据~");
        storage.read();
    }

    public void writeData(){
        System.out.println("电脑开始写数据~");
        storage.write();
    }
}
